<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增展览预约')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-exappointment-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">预约的展览ID：</label>
                <div class="col-sm-8">
                    <input name="exappExid" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">提交时间：</label>
                <div class="col-sm-8">
                    <input name="exappSubtime" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">联系人：</label>
                <div class="col-sm-8">
                    <input name="exappContact" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">联系手机：</label>
                <div class="col-sm-8">
                    <input name="exappPhone" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">联系邮件：</label>
                <div class="col-sm-8">
                    <input name="exappMail" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">参观人数：</label>
                <div class="col-sm-8">
                    <input name="exappMembercount" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">导览服务：</label>
                <div class="col-sm-8">
                    <input name="exappVpservice" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">预约参观日期：</label>
                <div class="col-sm-8">
                    <input name="exappDate" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">预约参观时间：</label>
                <div class="col-sm-8">
                    <input name="exappTime" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">预约备注：</label>
                <div class="col-sm-8">
                    <textarea name="exappMemo" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">预约状态：</label>
                <div class="col-sm-8">
                    <input name="status" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/exappointment"
        $("#form-exappointment-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-exappointment-add').serialize());
            }
        }
    </script>
</body>
</html>